shared-domain-ux

(0 reviews)

Create Digital Identity

/digitalIdentity

[POST]

This operation creates digital identity and resending of activation URL.

https://[host]:[port]/shared-domain-ux/v1/{businessId}/digitalIdentity
CWP URL

https://nonprod.cwp.esb.cloud.lla.com/test/shared-domain-ux-cwp/shared-domain-ux/v1/PA/digitalIdentity

LCR URL

https://nonprod.lcr.esb.cloud.lla.com/test/shared-domain-ux-lcr/shared-domain-ux/v1/CR/digitalIdentity

url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
Body
nametypedescriptionrequired
contactMediumarraycontains contact information related to the digital identityY
contactMedium.idstringIdentifier of the line item; default = "1"Y
contactMedium.contactTypestringrepresents the category of the contact; default = "Personal"Y
contactMedium.preferredbooleanrepresents the default behavior of the contact medium; default = TrueY
contactMedium.emailAddressstringcontains the email address for the creation of Digital Identity ex: user@email.comY
contactMedium.'@type'stringrepresents the type of the contact medium; default = "EmailMedium"Y
contactMedium.idstringIdentifier of the line item; default = "2"N
contactMedium.contactTypestringrepresents the category of the contact; default = "Personal"N
contactMedium.preferredbooleanrepresents the default behavior of the contact medium; default = TrueN
contactMedium.phoneNumberstringcontains the phone number of the customer ex: 50688887777N
contactMedium.'@type'stringrepresents the type of the contact medium; default = "PhoneMedium"N
credentialarraycontains credential information for creating digital identityY
credential.idstringIdentifier of the line item; default = "1"Y
credential.loginstringcontains login email information; ex: user@email.comY
credential.'@type'stringcontains the type of credentials; default = "LoginPasswordCredential"Y
individualIdentified.idstringCustomer IDY
individualIdentified.individualIdentificationarrayContains identification documents and verification details of the individual.Y
individualIdentified.individualIdentification.identificationIdstringThe value of the identification document (ID Proof)Y
individualIdentified.individualIdentification.identificationTypestringType of identification document; ex: Cedula, PasaporteY
individualIdentified.individualIdentification.issuingAuthoritystringIssuing authority of the identification document; ex: PAY
individualIdentified.individualIdentification.identificationIdstringBilling Account NumberY for PA; N for LCR
individualIdentified.individualIdentification.identificationTypestringType of identification document; default = "BillingAccount"Y for PA; N for LCR
individualIdentified.namestringFirst Name of the customer ++ ; ++ Last Name of the customerY
individualIdentified.rolestringRole of the individual in the context of the digital identity; default = "Customer"Y
individualIdentified.'@type'stringSpecifies the entity type for the individual object; default = "Individual"Y
'@type'stringDefault = "DigitalIdentity"Y
characteristicstringextended tmf model for including order characteristicsN
characteristic.namestringcontains the type of the order id; default = "triggeringOrderId"N
characteristic.valuestringOrder IdN
characteristic.'@type'stringDefault = "Characteristic"N
cURL request
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "contactMedium": [
    {
      "id": "1",
      "contactType": "Personal",
      "preferred": true,
      "emailAddress": "user@email.com",
      "@type": "EmailMedium"
    },
    {
      "id": "2",
      "contactType": "Personal",
      "preferred": true,
      "phoneNumber": "50688887777",
      "@type": "PhoneMedium"
    }
  ],
  "credential": [
    {
      "id": "1",
      "login": "suepitti15@email.com",
      "@type": "LoginPasswordCredential"
    }
  ],
  "individualIdentified": {
    "@type": "Individual",
    "id": "35428556",
    "individualIdentification":
        [
            {
            "identificationId": "4-187-663",
            "identificationType": "CEDULA",
            "issuingAuthority": "PA"
            },
            {
            "identificationId": "354285560000",
            "identificationType": "BillingAccount"
            }
        ],
    "name": "LuisCaballero;Castillo",
    "role": "Customer"
    },
  "characteristic": [
        {
          "name": "triggeringOrderId",
          "value": "55558888",
          "@type": "Characteristic"
        }
    ],
  "@type": "DigitalIdentity"
}'
Response
{
  "id": "digid-123456",
  "status": "Pending",
  "contactMedium": [
    {
      "id": "1",
      "contactType": "Personal",
      "preferred": true,
      "emailAddress": "user@email.com",
      "@type": "EmailMedium"
    },
    {
      "id": "2",
      "contactType": "Personal",
      "preferred": true,
      "phoneNumber": "50688887777",
      "@type": "PhoneMedium"
    }
  ],
  "credential": [
    {
      "id": "1",
      "login": "user@email.com",
      "@type": "LoginPasswordCredential"
    }
  ],
  "individualIdentified": {
    "@type": "Individual",
    "id": "35428556",
    "individualIdentification":
        [
            {
            "identificationId": "4-187-663",
            "identificationType": "CEDULA",
            "issuingAuthority": "PA"
            },
            {
            "identificationId": "354285560000",
            "identificationType": "BillingAccount"
            }
        ],
    "name": "Luis Caballero; Castillo",
    "role": "Customer"
    },
  "characteristic": [
        {
          "name": "triggeringOrderId",
          "value": "55558888",
          "@type": "Characteristic"
        }
    ],
  "@type": "DigitalIdentity"
}

Reviews